Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


RemoveFacet

The RemoveFacet method removes an embedded facet from this facet.

void RemoveFacet (in ODFacet facet);
facet
A reference to an embedded facet to be removed.
DISCUSSION
This facet's containing part calls this method before removing one of its embedded frames, or optionally when scrolling an embedded frame out of view. This method in turn calls the FacetRemoved method associated with this facet's part to notify the part that a facet has been removed from one of its frames. After this method executes successfully, the removed facet should not be used again; the caller should delete the removed facet.

EXCEPTIONS
kODErrInvalidFacet
The specified facet is not an embedded facet of this facet.
SEE ALSO
The ODFrame::FacetRemoved method (page 320).
The ODPart::FacetRemoved method (page 515).
"Removing a Facet" on page 123 in OpenDoc Programmer's Guide.
"Drawing When a Window is Scrolled" on page 160 in OpenDoc Programmer's Guide.
"Handling Cut Data" on page 334 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help